<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>控制台</title>
    <div th:include="../templates/common::html_header"></div>
    <div th:include="../templates/common::dtree"></div>

    <style>
        .con_div {
            border: solid 1px #CCC;
            padding-left: 5px;
            padding-top: 10px;;
            padding-bottom: 10px;
        }
    </style>
</head>
<body>
<div class="layui-container">
    <div class="layui-row  layui-col-space10">
        <div class="layui-col-md6 layui-col-lg6">
            <div class="con_div">
                <div class="layui-btn-group">
                    <button class="layui-btn layui-btn-sm treeLevel">1</button>
                    <button class="layui-btn layui-btn-sm treeLevel layui-btn-primary">2</button>
                    <button class="layui-btn layui-btn-sm treeLevel layui-btn-primary">3</button>
                    <button class="layui-btn layui-btn-sm treeLevel layui-btn-primary">4</button>
                    <button class="layui-btn layui-btn-sm treeLevel layui-btn-primary">5</button>
                    <button class="layui-btn layui-btn-sm treeLevel layui-btn-primary">6</button>
                    <button class="layui-btn layui-btn-sm treeLevel layui-btn-primary">7</button>
                    <button class="layui-btn layui-btn-sm treeLevel layui-btn-primary">8</button>
                    <button class="layui-btn layui-btn-sm treeLevel layui-btn-primary">9</button>
                    <button class="layui-btn layui-btn-sm treeLevel layui-btn-primary">10</button>
                </div>
                <div id="treeView" style="height: 90%; padding:10px;overflow-y: auto;border: 1px solid #CCC;"></div>
            </div>
        </div>
        <div class="layui-col-md6 layui-col-lg6">
            <div class="con_div">
                <div id="imgDiv" style="display: none;">
                    <pre id="imgSrc" lay-encode="true" class="layui-code"></pre>
                    <p style="margin-top: 20px;"></p>
                    <div id="img"></div>
                </div>
                <div id="txtDiv" style="display: none;">
                    <pre id="code" lay-encode="true" class="layui-code"></pre>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script th:src="@{{path}/script/console.js(path=${application.basePath}) }" type="text/javascript" charset="utf-8"></script>
</html>